export interface Message {
    id: number
    nickname: string
    email: string | null
    content: string
    createTime?: string
    updateTime?: string
    likes: number
    isLiked?: boolean
    replies: Reply[]
    likedIps: string[] | null
    isDeleted: boolean
}

export interface Reply {
    id: number
    nickname: string
    email: string | null
    content: string
    createTime?: string
    updateTime?: string
}

export interface NewMessage {
    nickname: string
    email?: string
    content: string
} 